<?php 

	$category = $_REQUEST['category'];
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>

	<a href="../index.php">返回首页</a><hr/>
	<table border='2' rules='rows' align="center" cellpadding='8%'>
		<thead>
			<tr align="center">
				<th><h1>
				<?php 
					if ($category == 0) {
						echo "SAT单词管理";
					}
					else if ($category == 1) {
						echo "GRE单词管理";
					}
					else if ($category == 2) {
						echo "iBT单词管理";
					}
					else if ($category == 3) {
						echo "iBT听力单词管理";
					}
				?>
				</h1></th>
			</tr>
		</thead>
		<tr>
			<td style='background-color: gray'></td>
		</tr>
		<tr align="center">
			<td><a href="addword.php?category=<?php echo $category?>">添加单词</a></td>
		</tr>

		<tr>
			<td style='background-color: gray'></td>
		</tr>
		<tr>
			<td align="center">
				<form action="updateword.php?category=<?php echo $category?>" method="post">
					<input type="text" name="searchWord" /> <input type="submit"
						value="查询单词" />
				</form>
			</td>
		</tr>
		<tr>
			<td style='background-color: gray'></td>
		</tr>
	</table>
</body>
</html>